package com.cman777.springc.common.bean.enums;

import com.cman777.springc.common.bean.Iface.Enum4DBIFace;
import lombok.Getter;

/**
 * @author chenzhicong
 * @time 2019/11/7 23:54
 * @description
 */
@Getter
public enum DatabaseType implements Enum4DBIFace {

    /**
     *
     */
    ORACLE("ORACLE", new String[]{"ORACLE"}, "ORACLE数据库"),
    MYSQL("MYSQL", new String[]{"MYSQL", "MARIADB"}, "MYSQL数据库");

    private final String code;
    private final String[] alias;
    private final String dbCode;
    private final String message;

    DatabaseType(String code, String[] alias, String message) {
        this.code = code;
        this.alias = alias;
        this.dbCode = code;
        this.message = message;
    }
}


